"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const taro_1 = require("@tarojs/taro");
const components_1 = require("@tarojs/components");
const prop_types_1 = require("prop-types");
require("./index.scss");
class default_1 extends taro_1.Component {
    render() {
        const { value = '', placeholder = '', style = {} } = this.props;
        return (<components_1.Textarea value={value} placeholder={placeholder} style={style} autoHeight autoFocus/>);
    }
}
default_1.propTypes = {
    value: prop_types_1.default.string,
    placeholder: prop_types_1.default.string,
    style: prop_types_1.default.object,
};
default_1.defaultProps = {
    value: '',
    placeholder: '',
    style: {},
};
exports.default = default_1;
//# sourceMappingURL=index.jsx.map